/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.devmng.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.devmng.entity.DevchkItem;
import com.thinkgem.jeesite.modules.devmng.vo.DevchkItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 检修项DAO接口
 *
 * @author panda
 * @version 2017-12-02
 */
@MyBatisDao
public interface DevchkItemDao extends CrudDao<DevchkItem> {

    List<DevchkItemVo> findListByTaskMainIdAndDeviceMainId(@Param("taskMainId") String taskMainId,
                                                           @Param("deviceMainId") String deviceMainId);

}